package org.glowroot.agent.plugin.hzero._;

import org.glowroot.agent.plugin.api.Logger;
import org.glowroot.agent.plugin.api.MethodInfo;

public class JobHandleMethodMeta extends CommonMethodMeta {

    private static final Logger logger = Logger.getLogger(JobHandleMethodMeta.class);

    public static final String JOBHANDLER_ANNOTATION = "org.hzero.boot.scheduler.infra.annotation.JobHandler";

    private final String jobHandleValue;


    public JobHandleMethodMeta(MethodInfo methodInfo) {
        super(methodInfo);
        this.jobHandleValue = (String) getAnnotationValue(JOBHANDLER_ANNOTATION, "value");
    }

    public String getJobHandleValue() {
        return jobHandleValue;
    }
}
